import Index from '../pages/Index.vue'
import Team from '../pages/Team.vue'
import User from '../pages/User.vue'
import Search from '../pages/SearchPage.vue'
import UserEdit from '../pages/UserEditPage.vue'
import SearchResultPage from '../pages/SearchResultPage.vue'
import UserLoginPage from '../pages/UserLoginPage.vue'
import TeamAddPage from '../pages/TeamAddPage.vue'
import TeamUpdatePage from '../pages/TeamUpdatePage.vue'
import TeamJoinPage from '../pages/TeamJoinPage.vue'
import TeamCreatePage from '../pages/TeamCreatePage.vue'
import UserRegisterPage from '../pages/RegisterPage.vue'
import UserTagsPage from '../pages/UserTagsPage.vue'
import UserTagsEdit from '../pages/UserTagsEdit.vue'
import test from '../pages/test.vue'



const routes = [
    { path: '/', component: Index },
    { path: '/team', title:"找队伍", component: Team },
    { path: '/team/add', title:"创建队伍", component: TeamAddPage },
    { path: '/team/update/:teamId', title:"更新队伍", component: TeamUpdatePage },
    { path: '/team/join', title:"加入队伍", component: TeamJoinPage },
    { path: '/team/create',title:"创建队伍", component: TeamCreatePage },
    { path: '/user', title:"个人信息",component: User },
    { path: '/search',title:"找伙伴", component: Search },
    { path: '/user/edit',title:"编辑信息", component:  UserEdit},
    { path: '/user/list',title:"用户列表", component:  SearchResultPage},
    { path: '/user/login',title:"登录", component:  UserLoginPage},
    { path: '/user/register',title:"注册", component:  UserRegisterPage},
    { path: '/user/tags',title:"用户标签列表", component:  UserTagsPage},
    { path: '/user/tags/edit',title:"编辑用户标签", component:  UserTagsEdit},
    { path: '/user/time',title:"time测试", component:  test},
]


export default  routes;